package si.yun.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @program: SiYunClass
 * @description: 用户状态信息
 * @author: 崔晓晨
 * @create: 2021-09-13 10:54
 **/
public class NavigationUserInfo {
    //拥护id
    private Integer userId;
    //用户所属部门
    private String deptName;
    //用户登录时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private String loginDate;
    //用户登录IP
    private String loginIp;
    //用户登录地址
    private String loginLocation;
    //用户上次登陆时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private String loginAginDate;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(String loginDate) {
        this.loginDate = loginDate;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginLocation() {
        return loginLocation;
    }

    public void setLoginLocation(String loginLocation) {
        this.loginLocation = loginLocation;
    }

    public String getLoginAginDate() {
        return loginAginDate;
    }

    public void setLoginAginDate(String loginAginDate) {
        this.loginAginDate = loginAginDate;
    }
}
